<form action="{$base_url}&action=profile_save" method="post">
	<input type="hidden" name="profile[id]" value="{$profile->id}" />
	<td class="center">
		<input type="reset" value=" " rel="{$profile->id}" class="cancel" />
	</td>
	<td class="center">
		<select name="profile[status]">
			<option{if $profile->status == 1} selected="selected"{/if} value="1">Включен</option>
			<option{if $profile->status == 0} selected="selected"{/if} value="0">Отключен</option>
			<option{if $profile->status == 2} selected="selected"{/if} value="2">Заблокирован</option>
		</select>
	</td>
	<td>
		<select name="profile[user_id]" id="profile[user_id]">
			<option value="0">- Выбрать -</option>
			{foreach $users as $user}
				<option{if $user->id == $profile->user_id} selected="selected"{/if} value="{$user->id}">{$user->login}</option>
			{/foreach}
		</select>
	</td>
	<td>
		<input type="submit" value="Сохранить" class="save" />
	</td>
</form>